#pragma once
#include "def.h"
#include "context.h"
#include "ActionApiBase.h"
#include "agencyevent.h"
#include "9200_agency_event_api.pb.h"


class ActionApiReportTicketInfo : public ActionApiBase
{
public:
    static bool Init();
    
public:
    static void HandleReportTicketInfo(MsgData&& msg_data);
public:
    static void OnAgencyGet(std::int32_t err_code, stAgencyEvent* agency, std::string&& trans);
protected:
    static void Request(const std::string& baseurl, std::uint32_t uid, std::uint16_t svtype, std::uint32_t svid, std::uint32_t uuid, const std::string& agency,
            agency_event_api::ReportTicketInfoReq& req);

};